[INFO] cloning repository https://github.com/fhbzyc/rust_practise
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fhbzyc/rust_practise" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffhbzyc%2Frust_practise", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffhbzyc%2Frust_practise'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 268955d9f1f0b129ddab9a1c3bedbfef4a45904d
[INFO] building fhbzyc/rust_practise against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffhbzyc%2Frust_practise" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/fhbzyc/rust_practise on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/fhbzyc/rust_practise
[INFO] finished tweaking git repo https://github.com/fhbzyc/rust_practise
[INFO] tweaked toml for git repo https://github.com/fhbzyc/rust_practise written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/fhbzyc/rust_practise already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rusqlite v0.24.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ed52c73322014370584fbf179732deda532954d70126a60a3cab5e2f2023254f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ed52c73322014370584fbf179732deda532954d70126a60a3cab5e2f2023254f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ed52c73322014370584fbf179732deda532954d70126a60a3cab5e2f2023254f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed52c73322014370584fbf179732deda532954d70126a60a3cab5e2f2023254f", kill_on_drop: false }`
[INFO] [stdout] ed52c73322014370584fbf179732deda532954d70126a60a3cab5e2f2023254f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] baf58c53d445d3ff2fef6a3f9990a3c450d7431ba05ee83752963f3656017c2c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "baf58c53d445d3ff2fef6a3f9990a3c450d7431ba05ee83752963f3656017c2c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]    Compiling futures-core v0.3.15
[INFO] [stderr]    Compiling anyhow v1.0.40
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling slab v0.4.3
[INFO] [stderr]    Compiling bytes v0.6.0
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling instant v0.1.9
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling lock_api v0.4.4
[INFO] [stderr]    Compiling tokio v0.3.7
[INFO] [stderr]    Compiling hashlink v0.6.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.20.1
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling parking_lot_core v0.8.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling mio v0.7.11
[INFO] [stderr]    Compiling signal-hook-registry v1.3.0
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling env_logger v0.8.3
[INFO] [stderr]    Compiling tokio-macros v0.3.2
[INFO] [stderr]    Compiling rusqlite v0.24.2
[INFO] [stderr]    Compiling web v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `server`
[INFO] [stdout]  --> src/bin/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use server::thread_pool::thread_pool::ThreadPool;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/net.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{error, info, warn};
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Connection`
[INFO] [stdout]  --> src/user/user.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rusqlite::{params, Connection, Result};
[INFO] [stdout]   |                        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `User`
[INFO] [stdout]   --> src/main.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 | use user::user::{Gender, User};
[INFO] [stdout]    |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ThreadPool`
[INFO] [stdout]   --> src/bin/main.rs:36:16
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let pool = ThreadPool::new(4);
[INFO] [stdout]    |                ^^^^^^^^^^ use of undeclared type `ThreadPool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `web`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/net.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let mut listener = TcpListener::bind("127.0.0.1:8000").await?;
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Warrior`
[INFO] [stdout]  --> src/role/role.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Warrior,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Mage`
[INFO] [stdout]  --> src/role/role.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Mage,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/role/role.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn new(user_id: usize, sys_role: SysRole) -> Role {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_exp`
[INFO] [stdout]   --> src/role/role.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn add_exp(&mut self, exp: u32) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Female`
[INFO] [stdout]  --> src/user/user.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Female = 0,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `from`
[INFO] [stdout]   --> src/user/user.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn from(code: isize) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "baf58c53d445d3ff2fef6a3f9990a3c450d7431ba05ee83752963f3656017c2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "baf58c53d445d3ff2fef6a3f9990a3c450d7431ba05ee83752963f3656017c2c", kill_on_drop: false }`
[INFO] [stdout] baf58c53d445d3ff2fef6a3f9990a3c450d7431ba05ee83752963f3656017c2c
